package com.situ.day12;

import org.junit.Test;

public class Feifa {
	
	@Test
	public void test() {
		try {
			fun();
		} catch (IllegalAccessException e) {
			e.printStackTrace();
		}
	}
	
	
	public void fun() throws IllegalAccessException {
		System.out.println("ExceptionDemo.fun()");
		
		
		throw new IllegalAccessException("非法 ");
	}
}
